package com.enen.demo.bean;

import java.io.Serializable;

public class Article implements Serializable {
    private Long id;
    private String title;
    private String content;
    private Long publishTime;
    private Long readTimes;
    private String status;
    private Long thumpUp;
    private String cover;
    private Long projectId;
    private Long authorId;
    private Long categoryId;
    private Long componyId;

    public Article() {
    }

    public Article(Long id, String title, String content, Long publishTime, Long readTimes, String status, Long thumpUp, String cover, Long projectId, Long authorId, Long categoryId, Long componyId) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.publishTime = publishTime;
        this.readTimes = readTimes;
        this.status = status;
        this.thumpUp = thumpUp;
        this.cover = cover;
        this.projectId = projectId;
        this.authorId = authorId;
        this.categoryId = categoryId;
        this.componyId = componyId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Long publishTime) {
        this.publishTime = publishTime;
    }

    public Long getReadTimes() {
        return readTimes;
    }

    public void setReadTimes(Long readTimes) {
        this.readTimes = readTimes;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getThumpUp() {
        return thumpUp;
    }

    public void setThumpUp(Long thumpUp) {
        this.thumpUp = thumpUp;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Long authorId) {
        this.authorId = authorId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getComponyId() {
        return componyId;
    }

    public void setComponyId(Long componyId) {
        this.componyId = componyId;
    }

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", publishTime=" + publishTime +
                ", readTimes=" + readTimes +
                ", status='" + status + '\'' +
                ", thumpUp=" + thumpUp +
                ", cover='" + cover + '\'' +
                ", projectId=" + projectId +
                ", authorId=" + authorId +
                ", categoryId=" + categoryId +
                ", componyId=" + componyId +
                '}';
    }
}
